package com.cloud.imgCloud.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cloud.imgCloud.mapper.SpaceMapper;
import com.cloud.imgCloud.model.dto.space.SpaceAddRequest;
import com.cloud.imgCloud.model.dto.space.SpaceQueryRequest;
import com.cloud.imgCloud.model.entity.Space;
import com.cloud.imgCloud.model.entity.User;
import com.cloud.imgCloud.model.vo.SpaceVO;
import com.cloud.imgCloud.service.SpaceService;

import javax.servlet.http.HttpServletRequest;


/**
 * @author 小牛
 * @description 针对表【space(空间)】的数据库操作Service实现
 * @createDate 2024-12-18 19:53:34
 */
public class SpaceServiceImpl extends ServiceImpl<SpaceMapper, Space> implements SpaceService {
    @Override
    public long addSpace(SpaceAddRequest spaceAddRequest, User loginUser) {
        return 0;
    }

    @Override
    public void validSpace(Space space, boolean add) {

    }

    @Override
    public SpaceVO getSpaceVO(Space space, HttpServletRequest request) {
        return null;
    }

    @Override
    public Page<SpaceVO> getSpaceVOPage(Page<Space> spacePage, HttpServletRequest request) {
        return null;
    }

    @Override
    public QueryWrapper<Space> getQueryWrapper(SpaceQueryRequest spaceQueryRequest) {
        return null;
    }

    @Override
    public void fillSpaceBySpaceLevel(Space space) {

    }

    @Override
    public void checkSpaceAuth(User loginUser, Space space) {

    }
}
